package com.ruoyi.project.module.propertyConstraint.processor.impl;

import com.fasterxml.jackson.databind.annotation.JsonAppend;
import com.ruoyi.project.module.propertyConstraint.processor.api.PropertyConstraintProcessor;
import com.ruoyi.project.module.propertyConstraint.processor.scan.PropConstraint;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;


/**
 * 日志级别属性值约束
 * com.ruoyi.project.module.propertyConstraint.processor.impl.LoggingLevelValueImpl <br>
 *
 * @author 蒋カイセキ    Japan-Tokyo  2018-11-12 01:16:05<br>
 * ブログ http://shoukaiseki.blog.163.com/<br>
 * E-メール jiang28555@Gmail.com<br>
 **/
@PropConstraint( value = "loggingLevelValuePropertyConstraintProcessorImpl",name = "LoggingLevel",description = "日志级别选择列表")
//@PropConstraint( value = "propertyConstraintProcessorLoggingLevelValueImpl",name = "LoggingLevel",remark = "sdfdf")
public class LoggingLevelValuePropertyConstraintProcessorImpl implements PropertyConstraintProcessor {

    @Override
    public boolean verification(String propValue, String beanParameter) {
        return true;
    }

    @Override
    public String valueSelectType() {
        return "select";
    }

    @Override
    public Object getValueSelect(String propValue, String beanParameter) {
        return null;
    }
}
